switch: Use markdown for css tree
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Feb 2021 01:06:39 +0000 (20:06 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:35 +0000 (16:37 +0000)
gtk/gtkswitch.c

index f2d3b92aa8123867fe9b50b3906436abaffcdc34..1c5916edd03e7b85dfe2a983693c990705b16c0d 100644 (file)
  *
  * # CSS nodes
  *
- * |[<!-- language="plain" -->
+ * ```
  * switch
  * ├── label
  * ├── label
  * ╰── slider
- * ]|
+ * ```
  *
  * `GtkSwitch` has four css nodes, the main node with the name switch and
  * subnodes for the slider and the on and off labels. Neither of them is
@@ -51,7 +51,7 @@
  *
  * # Accessibility
  *
- * `GtkSwitch` uses the #GTK_ACCESSIBLE_ROLE_SWITCH role.
+ * `GtkSwitch` uses the %GTK_ACCESSIBLE_ROLE_SWITCH role.
  */
 
 #include "config.h"